
public class calci {
        
       
       public int add(int num1, int num2)
       {
    	   int result= num1+num2;
    	   return result;
       }
    		   
	public static void main(String[] args) {
    	   
    	  calci c = new calci();
    	  int result = c.add(1, 2);
    	  
    	  System.out.println("addition of 2 nos is:" +result);
    	  
	}

}
